Simple MPEC mpec Knitro GAMS short Simple MPEC example with one upper and one lower level variable Solution has x=2, y=1 with obj = 0.